package com.azxcrm.project.system.basic.domain;

import java.io.Serializable;

import com.azxcrm.framework.web.page.PageDomain;
import com.azxcrm.project.system.customer.domain.CustomerClue;
import com.azxcrm.project.system.order.domain.Order;
import com.azxcrm.project.system.user.domain.User;

/**
 * sys_order_dispatch 派单记录
 * 
 * @author Dustyone
 * @date 2018-09-17
 */
public class OrderDispatch extends PageDomain implements Serializable 
{
	private static final long serialVersionUID = 1L;
	
	/** 派单id */
	private Integer dispatchId;
	/** 订单id */
	private Integer orderId;
	/** 部门id */
	private Integer deptId;
	/** 部门 */
	private String deptName;
	/** 业务员id */
	private Integer salesUserId;
	/** 派单时间 */
	private String dispatchTime;
	/** 派单保护时间 */
	private String protectTime;
	/** 派单保护类型：0参课保护，1跟单保护 */
	private Integer protectType;
	/** 派单客服 */
	private String createBy;
	/** 派单状态 :0派单未完成，1派单已完成*/
	private Integer dispatchStatus;
	/** 参课保护时间*/
	private Long dateNum;
	/** 订单信息*/
	private Order order;
	/** 线索客户信息*/
	private CustomerClue customerClue;
	/** 未成单原因*/
	private String unformedCause;
	/** 订单操作记录表*/
	private OrderModifyRecord orderModifyRecord;
	/**用户表**/
	private User user;
	
	/**
	 * 设置：派单id
	 */
	public void setDispatchId(Integer dispatchId) 
	{
		this.dispatchId = dispatchId;
	}
	
	/**
	 * 获取：派单id
	 */
	public Integer getDispatchId() 
	{
		return dispatchId;
	}
	
	/**
	 * 设置：订单id
	 */
	public void setOrderId(Integer orderId) 
	{
		this.orderId = orderId;
	}
	
	/**
	 * 获取：订单id
	 */
	public Integer getOrderId() 
	{
		return orderId;
	}
	
	/**
	 * 设置：部门id
	 */
	public void setDeptId(Integer deptId) 
	{
		this.deptId = deptId;
	}
	
	/**
	 * 获取：部门id
	 */
	public Integer getDeptId() 
	{
		return deptId;
	}
	
	/**
	 * 设置：部门
	 */
	public void setDeptName(String deptName) 
	{
		this.deptName = deptName;
	}
	
	/**
	 * 获取：部门
	 */
	public String getDeptName() 
	{
		return deptName;
	}
	
	/**
	 * 设置：业务员id
	 */
	public void setSalesUserId(Integer salesUserId) 
	{
		this.salesUserId = salesUserId;
	}
	
	/**
	 * 获取：业务员id
	 */
	public Integer getSalesUserId() 
	{
		return salesUserId;
	}
	
	/**
	 * 设置：派单时间
	 */
	public void setDispatchTime(String dispatchTime) 
	{
		this.dispatchTime = dispatchTime;
	}
	
	/**
	 * 获取：派单时间
	 */
	public String getDispatchTime() 
	{
		return dispatchTime;
	}
	
	/**
	 * 设置：派单保护时间
	 */
	public void setProtectTime(String protectTime) 
	{
		this.protectTime = protectTime;
	}
	
	/**
	 * 获取：派单保护时间
	 */
	public String getProtectTime() 
	{
		return protectTime;
	}
	
	/**
	 * 设置：派单保护类型：0参课保护，1跟单保护
	 */
	public void setProtectType(Integer protectType) 
	{
		this.protectType = protectType;
	}
	
	/**
	 * 获取：派单保护类型：0参课保护，1跟单保护
	 */
	public Integer getProtectType() 
	{
		return protectType;
	}
	
	/**
	 * 设置：派单客服
	 */
	public void setCreateBy(String createBy) 
	{
		this.createBy = createBy;
	}
	
	/**
	 * 获取：派单客服
	 */
	public String getCreateBy() 
	{
		return createBy;
	}

	/**
	 * 获取：派单状态 :0派单未完成，1派单已完成
	 */
	public Integer getDispatchStatus() {
		return dispatchStatus;
	}

	/**
	 * 设置：派单状态 :0派单未完成，1派单已完成
	 */
	public void setDispatchStatus(Integer dispatchStatus) {
		this.dispatchStatus = dispatchStatus;
	}

	public Long getDateNum() {
		return dateNum;
	}

	public void setDateNum(Long dateNum) {
		this.dateNum = dateNum;
	}

	public Order getOrder() {
		return order;
	}

	public void setOrder(Order order) {
		this.order = order;
	}

	public CustomerClue getCustomerClue() {
		return customerClue;
	}

	public void setCustomerClue(CustomerClue customerClue) {
		this.customerClue = customerClue;
	}

	public String getUnformedCause() {
		return unformedCause;
	}

	public void setUnformedCause(String unformedCause) {
		this.unformedCause = unformedCause;
	}

	public OrderModifyRecord getOrderModifyRecord() {
		return orderModifyRecord;
	}

	public void setOrderModifyRecord(OrderModifyRecord orderModifyRecord) {
		this.orderModifyRecord = orderModifyRecord;
	}

	public User getUser() {
		return user;
	}

	public void setUser(User user) {
		this.user = user;
	}
	
}
